import request from '@/utils/request'

//实验分页列表 - 管理员
export function queryPageList(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/queryPageList',
		headers: { userButton: 'dc56e60c76f54520b21ec996a06daef8' },
		data
	})
}

//实验分页列表 - 用户
export function queryUserPageList(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/queryUserPageList',
		headers: { userButton: '6768bb6c938f42c4a5ffcda5dfbce04d' },
		data
	})
}

//实验分页列表 - PI审核员
export function queryAuditPageList(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/queryAuditPageList',
		headers: { userButton: '72cce8f540424a91a07f4927fad475c5' },
		data
	})
}

//实验分页列表 - 反馈邮件
export function queryMailPageList(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/queryMailPageList',
		headers: { userButton: '564cd9cb6bf849d4bc61189d707f0de3' },
		data
	})
}

//实验反馈分页列表
export function queryFeedPageList(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/queryFeedPageList',
		headers: { userButton: 'adda99b126b548c3bdf4de6d741a220e' },
		data
	})
}

//添加实验
export function addedExperiment(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/add',
		headers: { userButton: '60c75eefa71e4162bcb961ac142fa4c3' },
		data
	})
}

//删除实验
export function batchDeleteData(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/batchDelete',
		headers: { userButton: '4bf9b6b3eb9f47df9cd4e04417bf1583' },
		data
	})
}

//修改实验
export function updateExperiment(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/update',
		headers: { userButton: 'd5f4538b53704c49bb6d28cee6a68603' },
		data,
	})
}

//实验详情
export function experimentDetail(id) {
	return request({
		method: 'get',
		url: 'tbExperiment/query/' + id,
		headers: { userButton: '25bd663cfb6844758245a5d4e690198c' }
	})
}

//实验审核
export function experimentAudit(data) {
	return request({
		method: 'post',
		url: 'tbExperiment/audit',
		headers: { userButton: 'cd86fec4b1654256bf123306af7c4b1a' },
		data
	})
}